package com.bw.day1homework

import com.bw.lib_miv.BaseApp
import com.qiniu.pili.droid.shortvideo.PLShortVideoEnv
import com.tencent.mmkv.MMKV
import com.umeng.commonsdk.UMConfigure
import com.umeng.socialize.PlatformConfig
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class App : BaseApp() {
    override fun onCreate() {
        super.onCreate()

        //MMKV
        MMKV.initialize(this)


        //友盟分享
        UMConfigure.init(
            this,
            "66d119fb192e0574e7702cae",
            "umeng",
            UMConfigure.DEVICE_TYPE_PHONE,
            ""
        )

        PlatformConfig.setQQZone("101830139", "5d63ae8858f1caab67715ccd6c18d7a5")

        //七牛云
        PLShortVideoEnv.init(getApplicationContext())

    }
}